<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>SF轻小说-全国最大的轻小说网站</title>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
		<title>Bootstrap 101 Template</title>
		<!-- Bootstrap -->
		<link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
		<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
		<script src="${pageContext.request.contextPath }/js/jquery-1.11.0.min.js"></script>
		<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
		<script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
		<link href="${pageContext.request.contextPath }/css/index.css" rel="stylesheet"/>
		<script>
			$(function () {
				$("#Search").click(function () {
					$.post("${pageContext.request.contextPath}/likeServlet","Text="+($("#a").text(),function(data) {
						alert("aaa")
					})
				})
			})
		</script>
	</head>
	<body>
		<div class="container">
			<div class="row" id="a">
				<div class="col-lg-1"></div>
				<div class="col-lg-3">
					<img src="${pageContext.request.contextPath }/images/goods/logo.png"/>
				</div>
				<div class="col-lg-5">
					<div class="a_2 text-right"><span style="color:hotpink"><a href="${pageContext.request.contextPath }/page/vipPage.jsp"><img src="${pageContext.request.contextPath }/images/goods/dbf05f4ccacb4b6bb088f3fed9da7119.jpg" class="img-circle" style="height: 38px;width: 38px;"></a>${massge }</span></div>
				</div>
				<div class="col-lg-3">
					<div class="a_1">
						<a href="${pageContext.request.contextPath }/vipServlet">个人中心</a> | <a href="${pageContext.request.contextPath }/showShopService">我的订单</a><br/>
						[ <a href="${pageContext.request.contextPath}/page/login1.jsp">登录</a> ] | [ <a href="${pageContext.request.contextPath}/page/login2.jsp">免费注册</a> ]
					</div>
				</div>
				</div>
			<div class="row" id="b">
				<div class="col-lg-1"></div>
				<div class="col-lg-4">
					<ul class="nav navbar-nav">
						<li class="active"><a href="#">首页<span class="sr-only">(current)</span></a></li>
							<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">书库<span class="caret"></span></a>
							<ul class="dropdown-menu">
								<li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=1">IT技术</a></li>
					            <li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=2">小说文学</a></li>
					            <li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=3">历史传记</a></li>
					            <li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=4">生活</a></li>
					            <li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=5">经营管理</a></li>
					            <li><a href="${pageContext.request.contextPath }/findPageServlet?currentPage=1&id=6">SF轻小说</a></li>
					          </ul>
						</li>
						<li><a href="#">排行榜</a></li>
						<li><a href="#">App下载</a></li>
					</ul>
				</div>
				<div class="col-lg-4">
					<form class="navbar-form navbar-left" action="${pageContext.request.contextPath }/likeServlet" method="get">
					    <div class="form-group">
							<input type="text" class="form-control" placeholder="输入作品名/作者名" id="a" name ="Text"/>
					    </div>
					    <button type="submit" class="glyphicon glyphicon-hand-right btn btn-info" id="Search">&nbsp;搜索</button>
					</form>
				</div>
				<div class="col-lg-3">
					<div class="b_1">
					<div class="btn-group">
					  <button type="button" class="btn btn-default btn-sm">购物车0件</button>
					  <button type="button" class="btn btn-info dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
					    <span class="caret"></span>
					    <span class="sr-only">Toggle Dropdown</span>
					  </button>
						<a class="btn btn-warning btn-sm" href="#" role="button">结算</a>
					  <ul class="dropdown-menu">
					    <li><a href="#">商品1</a></li>
					    <li><a href="#">商品2</a></li>
					    <li><a href="#">商品3</a></li>
					    <li><a href="#">商品4</a></li>
					  </ul>
					</div>
					</div>
				</div>
			</div>
			<div class="row" id="c">
				<div class="col-lg-7"></div>
				<div class="col-lg-3">
					<div class="c_1">
						<a href="#">会员福利</a>&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="#">热卖商品</a>&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="#">更多商品...</a>
					</div>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="row" id="d">
				<div class="col-lg-2">
					<div class="d_1">
						<img src="${pageContext.request.contextPath }/images/goods/sf娘1_WPS图片.jpg" >
					</div>
				</div>
				<div class="col-lg-8">
					<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
					  <ol class="carousel-indicators">
					    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
					    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
					    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
						<li data-target="#carousel-example-generic" data-slide-to="3"></li>
					  </ol>
					  <div class="carousel-inner" role="listbox">
					    <div class="item active">
					      <img src="${pageContext.request.contextPath }/images/goods/兽耳娘降临我身边.jpg">
					    </div>
					    <div class="item">
					      <img src="${pageContext.request.contextPath }/images/goods/带着buff开局.jpg">
					    </div>
						<div class="item">
						  <img src="${pageContext.request.contextPath }/images/goods/黑化少女观察日记.jpg">
						</div>
						<div class="item">
						  <img src="${pageContext.request.contextPath }/images/goods/最强带妹.jpg">
						</div>
					  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
					    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
					    <span class="sr-only">Previous</span>
					  </a>
					  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
					    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
					    <span class="sr-only">Next</span>
					  </a>
					</div>
				</div>
			</div>
			<div class="col-lg-2">
				<div class="d_3">
					<div class="d_3_1">
						<img src="${pageContext.request.contextPath }/images/goods/weixinv2.jpg" >
					</div>
					<div>
						<font style="font-size: 10px;color: orange;">
							&nbsp;ios版APP<br>
							&nbsp;安卓版APP<br>
							&nbsp;扫一扫下载
						</font> 
					</div>
				</div>
				<div class="d_2">
					<img src="${pageContext.request.contextPath }/images/goods/sf娘2.jpg" >
				</div>
			</div>
		</div>
		<div class="row" id="e">
			<div class="col-lg-2"></div>
			<div class="col-lg-2" id="e_2">
				<div class="e_1">
					<font style="font-size: 15px; color: red;">
						“ 商城八折优惠，限时开放中... ”
					</font>
				</div>
			</div>
			<div class="col-lg-2" id="e_2">
				<div class="e_1">
					<font>
						月刊少年第二十一期<br>
						月刊少年第二十一期
					</font>
				</div>
			</div>
			<div class="col-lg-2" id="e_2">
				<div class="e_1">
					<font>
						购书福利<br>
						安桌/iOS客户端一键下载
					</font>
				</div>
			</div>
			<div class="col-lg-2" id="e_2">
				<div class="e_1">
					<font>
						SF娘形象及表情包<br>
						净化网络文学环境，是我们共同的责任
					</font>
				</div>
			</div>
			<div class="col-lg-2"></div>
		</div>
		<div class="row" id="f">
			<div class="col-lg-12">
				<div class="f_1">
					<span class="glyphicon glyphicon-send"></span><font style="font-size: 20px;"> 人气风向标</font> <font style="font-size: 15px;">(深受买家好评)...</font>
				</div>
				<div>
					<hr/>
				</div>
			</div>
		</div>
		
		<div class="row" id="g">
			<div class="col-lg-1"></div>
				<c:forEach items="${Hot}" var="goods">
					<div class="col-lg-2">
						<div class="g_1 text-center img-responsive center-block">
							<a href="${pageContext.request.contextPath }/singlyServlet?id=${goods.id}"><img src="${pageContext.request.contextPath }/${goods.image}"></a>
						</div>
					</div>
				</c:forEach>
			<div class="col-lg-1"></div>
		</div>
		<div class="row" id="h">
			<div class="container">
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot}" var="goods">
							<div class="col-lg-2 text-center">${goods.name}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot}" var="goods">
							<div class="col-lg-2 text-center">惊喜价：￥${goods.salesprice}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot}" var="goods">
							<div class="col-lg-2 text-center">市场价：￥<del style="color: red">${goods.marketprice}</del></div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
			</div>
		</div>
		
		<div class="row" id="g">
			<div class="col-lg-1"></div>
				<c:forEach items="${Hot2}" var="goods">
					<div class="col-lg-2">
						<div class="g_1 text-center img-responsive center-block">
							<a href="${pageContext.request.contextPath }/singlyServlet?id=${goods.id}"><img src="${pageContext.request.contextPath }/${goods.image}"></a>
						</div>
					</div>
				</c:forEach>
			<div class="col-lg-1"></div>
		</div>
		<div class="row" id="h">
			<div class="container">
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot2}" var="goods">
							<div class="col-lg-2 text-center">${goods.name}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot2}" var="goods">
							<div class="col-lg-2 text-center">惊喜价：￥${goods.salesprice}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${Hot2}" var="goods">
							<div class="col-lg-2 text-center">市场价：￥<del style="color: red">${goods.marketprice}</del></div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
			</div>
		</div>
		<div class="row" id="f">
			<div class="col-lg-12">
				<div class="f_1">
					<span class="glyphicon glyphicon-fire"></span><font style="font-size: 20px;"> 最新上架的新书</font>
				</div>
				<div>
					<hr/>
				</div>
			</div>
		</div>
		<div class="row" id="g">
			<div class="col-lg-1"></div>
				<c:forEach items="${New}" var="goods">
					<div class="col-lg-2">
						<div class="g_1 text-center img-responsive center-block">
							<a href="${pageContext.request.contextPath }/singlyServlet?id=${goods.id}"><img src="${pageContext.request.contextPath }/${goods.image}"></a>
						</div>
					</div>
				</c:forEach>
			<div class="col-lg-1"></div>
		</div>
		<div class="row" id="h">
			<div class="container">
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New}" var="goods">
							<div class="col-lg-2 text-center">${goods.name}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New}" var="goods">
							<div class="col-lg-2 text-center">惊喜价：￥${goods.salesprice}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New}" var="goods">
							<div class="col-lg-2 text-center">市场价：￥<del style="color: red">${goods.marketprice}</del></div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
			</div>
		</div>
		<div class="row" id="g">
			<div class="col-lg-1"></div>
				<c:forEach items="${New2}" var="goods">
					<div class="col-lg-2">
						<div class="g_1 text-center img-responsive center-block">
							<a href="${pageContext.request.contextPath }/singlyServlet?id=${goods.id}"><img src="${pageContext.request.contextPath }/${goods.image}"></a>
						</div>
					</div>
				</c:forEach>
			<div class="col-lg-1"></div>
		</div>
		<div class="row" id="h">
			<div class="container">
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New2}" var="goods">
							<div class="col-lg-2 text-center">${goods.name}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New2}" var="goods">
							<div class="col-lg-2 text-center">惊喜价：￥${goods.salesprice}</div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
						<c:forEach items="${New2}" var="goods">
							<div class="col-lg-2 text-center">市场价：￥<del style="color: red">${goods.marketprice}</del></div>
						</c:forEach>
					<div class="col-lg-1"></div>
				</div>
			</div>
		</div>
		<div class="row" id="j">
			<div class="container">
				<div class="row">
					<hr/>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
					<div class="col-lg-2 text-center">购物指南<hr style="border: 2px solid pink; width: 170px; background-color: pink;"></div>
					<div class="col-lg-2 text-center">支付帮助<hr style="border: 2px solid pink; width: 170px; background-color: pink;"></div>
					<div class="col-lg-2 text-center">配送帮助<hr style="border: 2px solid pink; width: 170px; background-color: pink;"></div>
					<div class="col-lg-2 text-center">售后服务<hr style="border: 2px solid pink; width: 170px; background-color: pink;"></div>
					<div class="col-lg-2 text-center">帮助信息<hr style="border: 2px solid pink; width: 170px; background-color: pink;"></div>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
					<div class="col-lg-2 text-center">＊订单状态</div>
					<div class="col-lg-2 text-center">＊支付帮助</div>
					<div class="col-lg-2 text-center">＊EMS/邮政普包</div>
					<div class="col-lg-2 text-center">＊售后服务</div>
					<div class="col-lg-2 text-center">＊友情链接</div>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
					<div class="col-lg-2 text-center">＊购物流程</div>
					<div class="col-lg-2 text-center">＊在线支付</div>
					<div class="col-lg-2 text-center">＊商品验货与签收</div>
					<div class="col-lg-2 text-center">＊发票制度</div>
					<div class="col-lg-2 text-center">＊联系客服</div>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
					<div class="col-lg-2 text-center"></div>
					<div class="col-lg-2 text-center">＊货到付款</div>
					<div class="col-lg-2 text-center">＊配送范围及运费</div>
					<div class="col-lg-2 text-center">＊退货说明</div>
					<div class="col-lg-2 text-center">＊找回密码</div>
					<div class="col-lg-1"></div>
				</div>
				<div class="row">
					<div class="col-lg-1"></div>
					<div class="col-lg-2 text-center"></div>
					<div class="col-lg-2 text-center"></div>
					<div class="col-lg-2 text-center"></div>
					<div class="col-lg-2 text-center">＊退货说明</div>
					<div class="col-lg-2 text-center">＊关于我们</div>
					<div class="col-lg-1"></div>
				</div>
			</div>
		</div>
		<div class="row" id="g">
				<div class="col-lg-2"></div>
				<div class="col-lg-8 text-center" style="height:35px;">
					<div id="g_1">
						<a href="#">免责声明</a> &nbsp;|&nbsp; <a href="#">版权隐私</a> &nbsp;|&nbsp; <a href="#">联系方式</a> &nbsp;| &nbsp; <a href="#">友情链接</a> &nbsp;| &nbsp;
						<a href="#">广告投放</a> &nbsp;|&nbsp; <a href="#">粤ICP备10062407号</a> &nbsp;|&nbsp; <a href="#">免责声明</a>
					</div>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="row" id="g">
				<div class="col-lg-2"></div>
				<div class="col-lg-8 text-center">
					粤文网[2012]0726-109号[c]2005 - 2014 SFACG.COM ALL Rights Reserved
				</div>
				<div class="col-lg-2"></div>
			</div>
	</body>
</html>
